home *** CD-ROM | disk | FTP | other *** search
- Path: clri6f.gsi.de!kraemer
- From: kraemer@clri6f.gsi.de (Michael Kraemer)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Size of screen in millimeters?
- Date: 19 Feb 1996 13:05:47 GMT
- Organization: Technische Hochschule Darmstadt
- Message-ID: <4g9sjb$gcc@rs18.hrz.th-darmstadt.de>
- References: <d93-hyo.824566467@nada.kth.se>
- NNTP-Posting-Host: clri6f.gsi.de
- To: d93-hyo@nada.kth.se (Hσkan Younes)
-
- In article <d93-hyo.824566467@nada.kth.se>, d93-hyo@nada.kth.se (Hσkan Younes) writes:
- > Is it possible to get the size of a screen in millimeters
- > by examining some system structures?
- >
-
- I've found some entries in GfxBase that seem to work (approximately) on
- OS 1.3, 2.0, 3.0, 3.1.
-
- GfxBase -> NormalDPMX /* dots per meter */
- GfxBase -> NormalDPMY
-
- As a fallback you might use the approximate size of an 14" monitor.
-